package com.intelligentcar.springboot.mapper;

import com.intelligentcar.springboot.bean.Vehicle;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface VehicleMapper {
    //车辆表中新增车辆
    public int vehicleadd(Vehicle vehicle);

    // 查询车辆表中的所有车辆信息
    public List<Vehicle> lookupvehicle(RowBounds rowBounds);

    // 查询车辆表中的单条车辆信息
    public List<Vehicle> queryvehicle(Vehicle vehicle, RowBounds rowBounds);

    // 查询车辆表中的单条车辆信息
    public List<Vehicle> queryvehicle1(Vehicle vehicle, RowBounds rowBounds);

    // 查询车辆表中的单条车辆信息
    public List<Vehicle> queryvehicle2(Vehicle vehicle, RowBounds rowBounds);

    // 查询车辆表中的单条车辆信息
    public List<Vehicle> queryvehicle3(Vehicle vehicle, RowBounds rowBounds);

    //修改车辆表的车辆信息
    public int updatevehiclee(Vehicle vehicle);


    //删除车辆表的车辆信息
    public int deletevegicle(Vehicle vehicle);

    //查询车辆表中有多少个数据
    public int count();

    //查询车辆表中有多少个数据
    public int count1(Vehicle vehicle);

    //查询车辆表中有多少个数据
    public int count2(Vehicle vehicle);

    //查询车辆表中有多少个数据
    public int count3(Vehicle vehicle);

    //查询车辆表中有多少个数据
    public int count4(Vehicle vehicle);

    //查询车辆表中的所有车牌号
    public List<Vehicle> selectvehicle();
}
